#ifndef OPTION_H
#define OPTION_H
#include<QString>
#include<QDateTime>
#include<QDebug>
class Option
{
public:
    Option(){}
    long id;
    QDateTime datetime;
    int  status;
    int  direction;
    long user_id;
    long food_id;
    QString name;
    QString pic;
    long amount;
    QString unitName;
    QString typeName;

    friend QDebug operator << (QDebug os, Option option){
            os << "(" << option.id << ", "
                  << option.name << ", "
                  << option.amount << ", "
                << option.datetime << ", "
               << option.pic << ")";
            return os;
        }
};

#endif // OPTION_H
